home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Casino•
/
•Las Vegas•
/
MouseCraps ••••
/
Mouse Craps
/
Mouse Craps.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1987-12-28
|
85KB
|
1,515 lines
# near model CODE resource
# jump table entries: 184-196 (13 of them)
fn00000000:
00000000 4E56 FFEA link A6, -0x0016
00000004 48E7 0300 movem.l -[A7], D6,D7
00000008 7E01 moveq.l D7, 0x01
0000000A 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1
label00000010:
00000010 7C05 moveq.l D6, 0x05
00000012 1D7C 0001 FFED move.b [A6 - 0x13], 0x1
label00000018:
00000018 302E FFEE move.w D0, [A6 - 0x12]
0000001C C1FC 0018 muls.w D0, 0x18
00000020 122E FFED move.b D1, [A6 - 0x13]
00000024 4881 ext.w D1
00000026 E541 asl D1.w, 2
00000028 D041 add.w D0, D1
0000002A 0640 FC40 addi.w D0, 0xFC40
0000002E 2F35 0000 move.l -[A7], [A5 + D0.w]
00000032 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000036 522E FFED addq.b [A6 - 0x13], 1
0000003A 51CE FFDC dbf D6, -0x26 /* 00000018 */
0000003E 526E FFEE addq.w [A6 - 0x12], 1
00000042 51CF FFCC dbf D7, -0x36 /* 00000010 */
00000046 2F2D FC90 move.l -[A7], [A5 - 0x370]
0000004A 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
0000004E 2F2D FC8C move.l -[A7], [A5 - 0x374]
00000052 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000056 7E04 moveq.l D7, 0x04
00000058 3D7C 0100 FFEA move.w [A6 - 0x16], 0x100
label0000005E:
0000005E 302E FFEA move.w D0, [A6 - 0x16]
00000062 E540 asl D0.w, 2
00000064 0640 F894 addi.w D0, 0xF894
00000068 2F35 0000 move.l -[A7], [A5 + D0.w]
0000006C 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000070 526E FFEA addq.w [A6 - 0x16], 1
00000074 51CF FFE8 dbf D7, -0x1A /* 0000005E */
00000078 2F2D FC50 move.l -[A7], [A5 - 0x3B0]
0000007C 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000080 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
00000084 A914 syscall DisposeWindow
00000086 4CDF 00C0 movem.l D6,D7, [A7]+
0000008A 4E5E unlink A6
0000008C 4E75 rts
export_35:
0000008E 50E7 st -[A7]
00000090 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000094 4E56 FFF0 link A6, -0x0010
00000098 594F subq.w A7, 4
0000009A A975 syscall TickCount
0000009C 2B5F FDA4 move.l [A5 - 0x25C], [A7]+
000000A0 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
000000A4 41ED 0142 lea.l A0, [A5 + 0x142 /* export_36 */]
000000A8 2F08 move.l -[A7], A0
000000AA A9F1 syscall UnloadSeg
000000AC 4EBA 0F22 jsr [PC + 0xF22 /* 00000FD0 */]
000000B0 4EBA FF4E jsr [PC - 0xB2 /* 00000000 */]
000000B4 4E5E unlink A6
000000B6 4EAD 0032 jsr [A5 + 0x32 /* export_2 */]
fn000000BA:
000000BA 4E56 FEE4 link A6, -0x011C
000000BE 48E7 0100 movem.l -[A7], D7
000000C2 422E 000C clr.b [A6 + 0xC]
000000C6 3D6E 0008 FFEC move.w [A6 - 0x14], [A6 + 0x8]
000000CC 3D6E 000A FFEA move.w [A6 - 0x16], [A6 + 0xA]
000000D2 302E FFEC move.w D0, [A6 - 0x14]
000000D6 6000 013C bra +0x13E /* 00000214 */
label000000DA:
000000DA 6000 015C bra +0x15E /* 00000238 */
label000000DE:
000000DE 0C6E 0001 FFEA cmpi.w [A6 - 0x16], 0x1
000000E4 6600 000E bne +0x10 /* 000000F4 */
000000E8 3F3C 0101 move.w -[A7], 0x101
000000EC 4EBA 015A jsr [PC + 0x15A /* 00000248 */]
000000F0 6000 0028 bra +0x2A /* 0000011A */
label000000F4:
000000F4 486E FEE4 pea.l [A6 - 0x11C]
000000F8 A874 syscall GetPort
000000FA 2F2D FC94 move.l -[A7], [A5 - 0x36C]
000000FE 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000102 486E FEE8 pea.l [A6 - 0x118]
00000106 A946 syscall GetMenuItemText/GetItem
00000108 554F subq.w A7, 2
0000010A 486E FEE8 pea.l [A6 - 0x118]
0000010E A9B6 syscall OpenDeskAcc
00000110 3D5F FFEE move.w [A6 - 0x12], [A7]+
00000114 2F2E FEE4 move.l -[A7], [A6 - 0x11C]
00000118 A873 syscall SetPort
label0000011A:
0000011A 6000 011C bra +0x11E /* 00000238 */
label0000011E:
0000011E 302E FFEA move.w D0, [A6 - 0x16]
00000122 6000 000C bra +0xE /* 00000130 */
label00000126:
00000126 1D7C 0001 000C move.b [A6 + 0xC], 0x1
0000012C 6000 0006 bra +0x8 /* 00000134 */
label00000130:
00000130 5340 subq.w D0, 1
00000132 67F2 beq -0xC /* 00000126 */
label00000134:
00000134 6000 0102 bra +0x104 /* 00000238 */
label00000138:
00000138 6000 00FE bra +0x100 /* 00000238 */
label0000013C:
0000013C 302E FFEA move.w D0, [A6 - 0x16]
00000140 6000 0062 bra +0x64 /* 000001A4 */
label00000144:
00000144 7E02 moveq.l D7, 0x02
00000146 422E FFE9 clr.b [A6 - 0x17]
label0000014A:
0000014A 7000 moveq.l D0, 0x00
0000014C 102E FFE9 move.b D0, [A6 - 0x17]
00000150 E340 asl D0.w, 1
00000152 0640 FBE0 addi.w D0, 0xFBE0
00000156 3BBC 0019 0000 move.w [A5 + D0.w], 0x19
0000015C 7000 moveq.l D0, 0x00
0000015E 102E FFE9 move.b D0, [A6 - 0x17]
00000162 E340 asl D0.w, 1
00000164 0640 FBE0 addi.w D0, 0xFBE0
00000168 3F35 0000 move.w -[A7], [A5 + D0.w]
0000016C 7000 moveq.l D0, 0x00
0000016E 102E FFE9 move.b D0, [A6 - 0x17]
00000172 E540 asl D0.w, 2
00000174 0640 FBD4 addi.w D0, 0xFBD4
00000178 2F35 0000 move.l -[A7], [A5 + D0.w]
0000017C 7000 moveq.l D0, 0x00
0000017E 102E FFE9 move.b D0, [A6 - 0x17]
00000182 E740 asl D0.w, 3
00000184 0640 FBE6 addi.w D0, 0xFBE6
00000188 4875 0000 pea.l [A5 + D0.w]
0000018C 4EBA 07EC jsr [PC + 0x7EC /* 0000097A */]
00000190 522E FFE9 addq.b [A6 - 0x17], 1
00000194 51CF FFB4 dbf D7, -0x4E /* 0000014A */
00000198 6000 0012 bra +0x14 /* 000001AC */
label0000019C:
0000019C 4EBA 0764 jsr [PC + 0x764 /* 00000902 */]
000001A0 6000 000A bra +0xC /* 000001AC */
label000001A4:
000001A4 5340 subq.w D0, 1
000001A6 679C beq -0x62 /* 00000144 */
000001A8 5340 subq.w D0, 1
000001AA 67F0 beq -0xE /* 0000019C */
label000001AC:
000001AC 6000 008A bra +0x8C /* 00000238 */
label000001B0:
000001B0 302E FFEA move.w D0, [A6 - 0x16]
000001B4 6000 003E bra +0x40 /* 000001F4 */
000001B8 3F3C 010E move.w -[A7], 0x10E
000001BC 4EBA 008A jsr [PC + 0x8A /* 00000248 */]
000001C0 6000 004E bra +0x50 /* 00000210 */
000001C4 3F3C 010F move.w -[A7], 0x10F
000001C8 4EBA 007E jsr [PC + 0x7E /* 00000248 */]
000001CC 6000 0042 bra +0x44 /* 00000210 */
000001D0 3F3C 0110 move.w -[A7], 0x110
000001D4 4EBA 0072 jsr [PC + 0x72 /* 00000248 */]
000001D8 6000 0036 bra +0x38 /* 00000210 */
000001DC 3F3C 0111 move.w -[A7], 0x111
000001E0 4EBA 0066 jsr [PC + 0x66 /* 00000248 */]
000001E4 6000 002A bra +0x2C /* 00000210 */
000001E8 3F3C 0112 move.w -[A7], 0x112
000001EC 4EBA 005A jsr [PC + 0x5A /* 00000248 */]
000001F0 6000 001E bra +0x20 /* 00000210 */
label000001F4:
000001F4 5340 subq.w D0, 1
000001F6 0C40 0005 cmpi.w D0, 0x5
000001FA 6414 bcc +0x16 /* 00000210 */
000001FC D040 add.w D0, D0
000001FE 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000202 4EFB 0002 jmp [PC + D0.w + 0x2]
00000206 FFB2 .invalid <<F/6/7>>
00000208 FFBE .invalid <<F/6/7>>
0000020A FFCA .invalid <<F/7/7>>
0000020C FFD6 .invalid <<F/7/7>>
0000020E FFE2 .invalid <<F/7/7>>
label00000210:
00000210 6000 0026 bra +0x28 /* 00000238 */
label00000214:
00000214 6700 FEC4 beq -0x13A /* 000000DA */
00000218 0640 FF00 addi.w D0, 0xFF00
0000021C 6700 FEC0 beq -0x13E /* 000000DE */
00000220 5340 subq.w D0, 1
00000222 6700 FEFA beq -0x104 /* 0000011E */
00000226 5340 subq.w D0, 1
00000228 6700 FF0E beq -0xF0 /* 00000138 */
0000022C 5340 subq.w D0, 1
0000022E 6700 FF0C beq -0xF2 /* 0000013C */
00000232 5340 subq.w D0, 1
00000234 6700 FF7A beq -0x84 /* 000001B0 */
label00000238:
00000238 4267 clr.w -[A7]
0000023A A938 syscall HiliteMenu
0000023C 4CDF 0080 movem.l D7, [A7]+
00000240 4E5E unlink A6
00000242 205F movea.l A0, [A7]+
00000244 584F addq.w A7, 4
00000246 4ED0 jmp [A0]
export_23:
fn00000248:
00000248 4E56 FFEA link A6, -0x0016
0000024C 4E71 nop
0000024E 4E71 nop
00000250 594F subq.w A7, 4
00000252 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000256 42A7 clr.l -[A7]
00000258 70FF moveq.l D0, 0xFFFFFFFF
0000025A 2F00 move.l -[A7], D0
0000025C A97C syscall GetNewDialog
0000025E 2D5F FFEA move.l [A6 - 0x16], [A7]+
00000262 42A7 clr.l -[A7]
00000264 486E FFEE pea.l [A6 - 0x12]
00000268 A991 syscall ModalDialog
0000026A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000026E A983 syscall DisposeDialog
00000270 4E5E unlink A6
00000272 205F movea.l A0, [A7]+
00000274 544F addq.w A7, 2
00000276 4ED0 jmp [A0]
export_24:
00000278 4E56 FFF0 link A6, -0x0010
0000027C 4E71 nop
0000027E 4E71 nop
00000280 4AAD FC10 tst.l [A5 - 0x3F0]
00000284 6600 0018 bne +0x1A /* 0000029E */
00000288 486D FC10 pea.l [A5 - 0x3F0]
0000028C 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00000290 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00000294 2B6D FC10 FC0C move.l [A5 - 0x3F4], [A5 - 0x3F0]
0000029A 6000 002A bra +0x2C /* 000002C6 */
label0000029E:
0000029E 206D FC0C movea.l A0, [A5 - 0x3F4]
000002A2 4868 001C pea.l [A0 + 0x1C]
000002A6 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000002AA 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
000002AE 206D FC0C movea.l A0, [A5 - 0x3F4]
000002B2 2068 001C movea.l A0, [A0 + 0x1C]
000002B6 216D FC0C 0018 move.l [A0 + 0x18], [A5 - 0x3F4]
000002BC 206D FC0C movea.l A0, [A5 - 0x3F4]
000002C0 2B68 001C FC0C move.l [A5 - 0x3F4], [A0 + 0x1C]
label000002C6:
000002C6 206D FC0C movea.l A0, [A5 - 0x3F4]
000002CA 42A8 001C clr.l [A0 + 0x1C]
000002CE 4E5E unlink A6
000002D0 4E75 rts
export_25:
fn000002D2:
000002D2 4E56 FFEC link A6, -0x0014
000002D6 4E71 nop
000002D8 4E71 nop
000002DA 206E 0008 movea.l A0, [A6 + 0x8]
000002DE 2D50 FFEC move.l [A6 - 0x14], [A0]
000002E2 206E 0008 movea.l A0, [A6 + 0x8]
000002E6 2010 move.l D0, [A0]
000002E8 B0AD FC10 cmp.l D0, [A5 - 0x3F0]
000002EC 6600 002E bne +0x30 /* 0000031C */
000002F0 206E 0008 movea.l A0, [A6 + 0x8]
000002F4 2050 movea.l A0, [A0]
000002F6 2B68 001C FC10 move.l [A5 - 0x3F0], [A0 + 0x1C]
000002FC 206E 0008 movea.l A0, [A6 + 0x8]
00000300 20AD FC10 move.l [A0], [A5 - 0x3F0]
00000304 206E 0008 movea.l A0, [A6 + 0x8]
00000308 4A90 tst.l [A0]
0000030A 6700 000C beq +0xE /* 00000318 */
0000030E 206E 0008 movea.l A0, [A6 + 0x8]
00000312 2050 movea.l A0, [A0]
00000314 42A8 0018 clr.l [A0 + 0x18]
label00000318:
00000318 6000 005E bra +0x60 /* 00000378 */
label0000031C:
0000031C 206E 0008 movea.l A0, [A6 + 0x8]
00000320 2050 movea.l A0, [A0]
00000322 4AA8 001C tst.l [A0 + 0x1C]
00000326 6600 0024 bne +0x26 /* 0000034C */
0000032A 206E 0008 movea.l A0, [A6 + 0x8]
0000032E 2050 movea.l A0, [A0]
00000330 2B68 0018 FC0C move.l [A5 - 0x3F4], [A0 + 0x18]
00000336 206E 0008 movea.l A0, [A6 + 0x8]
0000033A 20AD FC0C move.l [A0], [A5 - 0x3F4]
0000033E 206E 0008 movea.l A0, [A6 + 0x8]
00000342 2050 movea.l A0, [A0]
00000344 42A8 001C clr.l [A0 + 0x1C]
00000348 6000 002E bra +0x30 /* 00000378 */
label0000034C:
0000034C 206E 0008 movea.l A0, [A6 + 0x8]
00000350 2050 movea.l A0, [A0]
00000352 2068 0018 movea.l A0, [A0 + 0x18]
00000356 226E 0008 movea.l A1, [A6 + 0x8]
0000035A 2251 movea.l A1, [A1]
0000035C 2169 001C 001C move.l [A0 + 0x1C], [A1 + 0x1C]
00000362 206E 0008 movea.l A0, [A6 + 0x8]
00000366 2050 movea.l A0, [A0]
00000368 2068 001C movea.l A0, [A0 + 0x1C]
0000036C 226E 0008 movea.l A1, [A6 + 0x8]
00000370 2251 movea.l A1, [A1]
00000372 2169 0018 0018 move.l [A0 + 0x18], [A1 + 0x18]
label00000378:
00000378 486E FFEC pea.l [A6 - 0x14]
0000037C 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00000380 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00000384 4E5E unlink A6
00000386 205F movea.l A0, [A7]+
00000388 584F addq.w A7, 4
0000038A 4ED0 jmp [A0]
export_26:
fn0000038C:
0000038C 4E56 FFF0 link A6, -0x0010
00000390 4E71 nop
00000392 4E71 nop
00000394 2B6D FC10 FC08 move.l [A5 - 0x3F8], [A5 - 0x3F0]
0000039A 422E 000A clr.b [A6 + 0xA]
label0000039E:
0000039E 4AAD FC08 tst.l [A5 - 0x3F8]
000003A2 6700 002A beq +0x2C /* 000003CE */
000003A6 206D FC08 movea.l A0, [A5 - 0x3F8]
000003AA 1010 move.b D0, [A0]
000003AC B02E 0008 cmp.b D0, [A6 + 0x8]
000003B0 6600 0008 bne +0xA /* 000003BA */
000003B4 1D7C 0001 000A move.b [A6 + 0xA], 0x1
label000003BA:
000003BA 4AAD FC08 tst.l [A5 - 0x3F8]
000003BE 6700 000C beq +0xE /* 000003CC */
000003C2 206D FC08 movea.l A0, [A5 - 0x3F8]
000003C6 2B68 001C FC08 move.l [A5 - 0x3F8], [A0 + 0x1C]
label000003CC:
000003CC 60D0 bra -0x2E /* 0000039E */
label000003CE:
000003CE 4E5E unlink A6
000003D0 205F movea.l A0, [A7]+
000003D2 544F addq.w A7, 2
000003D4 4ED0 jmp [A0]
export_27:
000003D6 4E56 FFEE link A6, -0x0012
000003DA 4E71 nop
000003DC 4E71 nop
000003DE 102E 0008 move.b D0, [A6 + 0x8]
000003E2 6000 008E bra +0x90 /* 00000472 */
000003E6 1D7C 0028 FFEF move.b [A6 - 0x11], 0x28 /* '(' */
000003EC 6000 00BA bra +0xBC /* 000004A8 */
000003F0 1D7C 0029 FFEF move.b [A6 - 0x11], 0x29 /* ')' */
000003F6 6000 00B0 bra +0xB2 /* 000004A8 */
000003FA 1D7C 001C FFEF move.b [A6 - 0x11], 0x1C
00000400 6000 00A6 bra +0xA8 /* 000004A8 */
00000404 1D7C 001D FFEF move.b [A6 - 0x11], 0x1D
0000040A 6000 009C bra +0x9E /* 000004A8 */
0000040E 1D7C 001E FFEF move.b [A6 - 0x11], 0x1E
00000414 6000 0092 bra +0x94 /* 000004A8 */
00000418 1D7C 001F FFEF move.b [A6 - 0x11], 0x1F
0000041E 6000 0088 bra +0x8A /* 000004A8 */
00000422 1D7C 0020 FFEF move.b [A6 - 0x11], 0x20 /* ' ' */
00000428 6000 007E bra +0x80 /* 000004A8 */
0000042C 1D7C 0021 FFEF move.b [A6 - 0x11], 0x21 /* '!' */
00000432 6000 0074 bra +0x76 /* 000004A8 */
00000436 1D7C 0022 FFEF move.b [A6 - 0x11], 0x22 /* '\"' */
0000043C 6000 006A bra +0x6C /* 000004A8 */
00000440 1D7C 0023 FFEF move.b [A6 - 0x11], 0x23 /* '#' */
00000446 6000 0060 bra +0x62 /* 000004A8 */
0000044A 1D7C 0024 FFEF move.b [A6 - 0x11], 0x24 /* '$' */
00000450 6000 0056 bra +0x58 /* 000004A8 */
00000454 1D7C 0025 FFEF move.b [A6 - 0x11], 0x25 /* '%' */
0000045A 6000 004C bra +0x4E /* 000004A8 */
0000045E 1D7C 0026 FFEF move.b [A6 - 0x11], 0x26 /* '&' */
00000464 6000 0042 bra +0x44 /* 000004A8 */
00000468 1D7C 0027 FFEF move.b [A6 - 0x11], 0x27 /* '\'' */
0000046E 6000 0038 bra +0x3A /* 000004A8 */
label00000472:
00000472 0240 00FF andi.w D0, 0xFF
00000476 0C40 0011 cmpi.w D0, 0x11
0000047A 642C bcc +0x2E /* 000004A8 */
0000047C D040 add.w D0, D0
0000047E 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000482 4EFB 0002 jmp [PC + D0.w + 0x2]
00000486 FF60 .extension 0xF60 <<F/4-5/7>> // unimplemented
00000488 FF6A .extension 0xF6A <<F/4-5/7>> // unimplemented
0000048A 0022 0022 ori.b -[A2], 0x22 /* '\"' */
0000048E 0022 FF74 ori.b -[A2], 0x74 /* 't' */
00000492 FF7E .extension 0xF7E <<F/4-5/7>> // unimplemented
00000494 FF88 .invalid <<F/6/7>>
00000496 FF92 .invalid <<F/6/7>>
00000498 FF9C .invalid <<F/6/7>>
0000049A FFA6 .invalid <<F/6/7>>
0000049C FFB0 .invalid <<F/6/7>>
0000049E FFBA .invalid <<F/6/7>>
000004A0 FFC4 .invalid <<F/7/7>>
000004A2 FFCE .invalid <<F/7/7>>
000004A4 FFD8 .invalid <<F/7/7>>
000004A6 FFE2 .invalid <<F/7/7>>
label000004A8:
000004A8 554F subq.w A7, 2
000004AA 1F2E FFEF move.b -[A7], [A6 - 0x11]
000004AE 4EBA FEDC jsr [PC - 0x124 /* 0000038C */]
000004B2 1D5F 000A move.b [A6 + 0xA], [A7]+
000004B6 4E5E unlink A6
000004B8 205F movea.l A0, [A7]+
000004BA 544F addq.w A7, 2
000004BC 4ED0 jmp [A0]
export_28:
fn000004BE:
000004BE 4E56 FFEC link A6, -0x0014
000004C2 4E71 nop
000004C4 4E71 nop
000004C6 2D6D FC10 FFEC move.l [A6 - 0x14], [A5 - 0x3F0]
label000004CC:
000004CC 206E FFEC movea.l A0, [A6 - 0x14]
000004D0 1010 move.b D0, [A0]
000004D2 B02E 0008 cmp.b D0, [A6 + 0x8]
000004D6 6700 000E beq +0x10 /* 000004E6 */
000004DA 206E FFEC movea.l A0, [A6 - 0x14]
000004DE 2D68 001C FFEC move.l [A6 - 0x14], [A0 + 0x1C]
000004E4 60E6 bra -0x18 /* 000004CC */
label000004E6:
000004E6 2D6E FFEC 000A move.l [A6 + 0xA], [A6 - 0x14]
000004EC 4E5E unlink A6
000004EE 205F movea.l A0, [A7]+
000004F0 544F addq.w A7, 2
000004F2 4ED0 jmp [A0]
export_29:
000004F4 4E56 FFEE link A6, -0x0012
000004F8 48E7 0008 movem.l -[A7], A4
label000004FC:
000004FC 1D7C 0001 FFEF move.b [A6 - 0x11], 0x1
00000502 2B6D FC10 FC08 move.l [A5 - 0x3F8], [A5 - 0x3F0]
label00000508:
00000508 4AAD FC08 tst.l [A5 - 0x3F8]
0000050C 6700 0118 beq +0x11A /* 00000626 */
00000510 422E FFEE clr.b [A6 - 0x12]
00000514 206D FC08 movea.l A0, [A5 - 0x3F8]
00000518 49D0 lea.l A4, [A0]
0000051A 1014 move.b D0, [A4]
0000051C 6000 0076 bra +0x78 /* 00000594 */
00000520 594F subq.w A7, 4
00000522 486C 000E pea.l [A4 + 0xE]
00000526 2F3C 0002 000C move.l -[A7], 0x2000C
0000052C 3F3C 0002 move.w -[A7], 0x2
00000530 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000534 102D FBFF move.b D0, [A5 - 0x401]
00000538 4880 ext.w D0
0000053A 221F move.l D1, [A7]+
0000053C 3F00 move.w -[A7], D0
0000053E 2F01 move.l -[A7], D1
00000540 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00000544 6400 0008 bcc +0xA /* 0000054E */
00000548 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
label0000054E:
0000054E 6000 00AC bra +0xAE /* 000005FC */
00000552 594F subq.w A7, 4
00000554 486C 000E pea.l [A4 + 0xE]
00000558 2F3C 0002 000C move.l -[A7], 0x2000C
0000055E 3F3C 0002 move.w -[A7], 0x2
00000562 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000566 102D FBFF move.b D0, [A5 - 0x401]
0000056A 4880 ext.w D0
0000056C 221F move.l D1, [A7]+
0000056E 3F00 move.w -[A7], D0
00000570 2F01 move.l -[A7], D1
00000572 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00000576 55C0 scs D0
00000578 4400 neg.b D0
0000057A 122E 0008 move.b D1, [A6 + 0x8]
0000057E 0A01 0001 xori.b D1, 0x1
00000582 C001 and.b D0, D1
00000584 4A00 tst.b D0
00000586 6700 0008 beq +0xA /* 00000590 */
0000058A 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
label00000590:
00000590 6000 006A bra +0x6C /* 000005FC */
label00000594:
00000594 0240 00FF andi.w D0, 0xFF
00000598 0C40 002A cmpi.w D0, 0x2A /* '*' */
0000059C 645E bcc +0x60 /* 000005FC */
0000059E D040 add.w D0, D0
000005A0 303B 0006 move.w D0, [PC + D0.w + 0x6]
000005A4 4EFB 0002 jmp [PC + D0.w + 0x2]
000005A8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005AA FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005AC FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005AE FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005B0 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005B2 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005B4 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005B6 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005B8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005BA FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005BC FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005BE FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005C0 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005C2 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005C4 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005C6 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005C8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005CA FFAA .invalid <<F/6/7>>
000005CC FFAA .invalid <<F/6/7>>
000005CE FFAA .invalid <<F/6/7>>
000005D0 FFAA .invalid <<F/6/7>>
000005D2 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005D4 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005D6 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005D8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005DA 0054 FF78 ori.w [A4], 0xFF78
000005DE FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005E0 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005E2 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005E4 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005E6 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005E8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005EA FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005EC FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005EE FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005F0 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005F2 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005F4 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005F6 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005F8 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000005FA FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
label000005FC:
000005FC 4A2E FFEE tst.b [A6 - 0x12]
00000600 6700 000E beq +0x10 /* 00000610 */
00000604 486D FC08 pea.l [A5 - 0x3F8]
00000608 4EBA FCC8 jsr [PC - 0x338 /* 000002D2 */]
0000060C 422E FFEF clr.b [A6 - 0x11]
label00000610:
00000610 4AAD FC08 tst.l [A5 - 0x3F8]
00000614 6700 000C beq +0xE /* 00000622 */
00000618 206D FC08 movea.l A0, [A5 - 0x3F8]
0000061C 2B68 001C FC08 move.l [A5 - 0x3F8], [A0 + 0x1C]
label00000622:
00000622 6000 FEE4 bra -0x11A /* 00000508 */
label00000626:
00000626 4A2E FFEF tst.b [A6 - 0x11]
0000062A 6700 FED0 beq -0x12E /* 000004FC */
0000062E 4CDF 1000 movem.l A4, [A7]+
00000632 4E5E unlink A6
00000634 205F movea.l A0, [A7]+
00000636 544F addq.w A7, 2
00000638 4ED0 jmp [A0]
export_30:
0000063A 4E56 FFDE link A6, -0x0022
0000063E 48E7 0008 movem.l -[A7], A4
00000642 426E FFEA clr.w [A6 - 0x16]
label00000646:
00000646 1D7C 0001 FFEF move.b [A6 - 0x11], 0x1
0000064C 2B6D FC10 FC08 move.l [A5 - 0x3F8], [A5 - 0x3F0]
label00000652:
00000652 4AAD FC08 tst.l [A5 - 0x3F8]
00000656 6700 0278 beq +0x27A /* 000008D0 */
0000065A 422E FFEE clr.b [A6 - 0x12]
0000065E 422E FFED clr.b [A6 - 0x13]
00000662 206D FC08 movea.l A0, [A5 - 0x3F8]
00000666 49D0 lea.l A4, [A0]
00000668 1014 move.b D0, [A4]
0000066A 6000 0138 bra +0x13A /* 000007A4 */
0000066E 594F subq.w A7, 4
00000670 486C 000C pea.l [A4 + 0xC]
00000674 2F3C 0002 000C move.l -[A7], 0x2000C
0000067A 3F3C 0002 move.w -[A7], 0x2
0000067E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000682 102D FBFF move.b D0, [A5 - 0x401]
00000686 4880 ext.w D0
00000688 221F move.l D1, [A7]+
0000068A 3F00 move.w -[A7], D0
0000068C 2F01 move.l -[A7], D1
0000068E 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00000692 6400 0008 bcc +0xA /* 0000069C */
00000696 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
label0000069C:
0000069C 102C 0004 move.b D0, [A4 + 0x4]
000006A0 0A00 0001 xori.b D0, 0x1
000006A4 4A00 tst.b D0
000006A6 6700 0008 beq +0xA /* 000006B0 */
000006AA 1D7C 0001 FFED move.b [A6 - 0x13], 0x1
label000006B0:
000006B0 6000 015A bra +0x15C /* 0000080C */
000006B4 594F subq.w A7, 4
000006B6 486C 000C pea.l [A4 + 0xC]
000006BA 2F3C 0002 000C move.l -[A7], 0x2000C
000006C0 3F3C 0002 move.w -[A7], 0x2
000006C4 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000006C8 102D FBFF move.b D0, [A5 - 0x401]
000006CC 4880 ext.w D0
000006CE 221F move.l D1, [A7]+
000006D0 3F00 move.w -[A7], D0
000006D2 2F01 move.l -[A7], D1
000006D4 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000006D8 6400 004C bcc +0x4E /* 00000726 */
000006DC 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
000006E2 102D FBFF move.b D0, [A5 - 0x401]
000006E6 4880 ext.w D0
000006E8 5540 subq.w D0, 2
000006EA 57C0 seq D0
000006EC 4400 neg.b D0
000006EE 122D FBFF move.b D1, [A5 - 0x401]
000006F2 4881 ext.w D1
000006F4 0C41 000C cmpi.w D1, 0xC
000006F8 57C1 seq D1
000006FA 4401 neg.b D1
000006FC 8001 or.b D0, D1
000006FE 4A00 tst.b D0
00000700 6700 0024 beq +0x26 /* 00000726 */
00000704 3D7C 0002 FFE8 move.w [A6 - 0x18], 0x2
0000070A 486E FFE8 pea.l [A6 - 0x18]
0000070E 486E FFDE pea.l [A6 - 0x22]
00000712 3F3C 200E move.w -[A7], 0x200E
00000716 A9EB syscall Pack4/FP68K
00000718 486E FFDE pea.l [A6 - 0x22]
0000071C 486C 0008 pea.l [A4 + 0x8]
00000720 3F3C 1010 move.w -[A7], 0x1010
00000724 A9EB syscall Pack4/FP68K
label00000726:
00000726 1D7C 0001 FFED move.b [A6 - 0x13], 0x1
0000072C 6000 00DE bra +0xE0 /* 0000080C */
00000730 594F subq.w A7, 4
00000732 486C 000C pea.l [A4 + 0xC]
00000736 2F3C 0002 000C move.l -[A7], 0x2000C
0000073C 3F3C 0002 move.w -[A7], 0x2
00000740 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000744 102D FBFF move.b D0, [A5 - 0x401]
00000748 4880 ext.w D0
0000074A 221F move.l D1, [A7]+
0000074C 3F00 move.w -[A7], D0
0000074E 2F01 move.l -[A7], D1
00000750 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00000754 55C0 scs D0
00000756 4400 neg.b D0
00000758 C02E 0008 and.b D0, [A6 + 0x8]
0000075C 4A00 tst.b D0
0000075E 6700 0008 beq +0xA /* 00000768 */
00000762 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
label00000768:
00000768 6000 00A2 bra +0xA4 /* 0000080C */
0000076C 594F subq.w A7, 4
0000076E 486C 000C pea.l [A4 + 0xC]
00000772 2F3C 0002 000C move.l -[A7], 0x2000C
00000778 3F3C 0002 move.w -[A7], 0x2
0000077C 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000780 102D FBFF move.b D0, [A5 - 0x401]
00000784 4880 ext.w D0
00000786 221F move.l D1, [A7]+
00000788 3F00 move.w -[A7], D0
0000078A 2F01 move.l -[A7], D1
0000078C 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00000790 6400 000E bcc +0x10 /* 000007A0 */
00000794 1D7C 0001 FFEE move.b [A6 - 0x12], 0x1
0000079A 1D7C 0001 FFED move.b [A6 - 0x13], 0x1
label000007A0:
000007A0 6000 006A bra +0x6C /* 0000080C */
label000007A4:
000007A4 0240 00FF andi.w D0, 0xFF
000007A8 0C40 002A cmpi.w D0, 0x2A /* '*' */
000007AC 645E bcc +0x60 /* 0000080C */
000007AE D040 add.w D0, D0
000007B0 303B 0006 move.w D0, [PC + D0.w + 0x6]
000007B4 4EFB 0002 jmp [PC + D0.w + 0x2]
000007B8 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007BC FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007C0 FEFC FEB6 .extension 0xEFC <<F/2-3/7>> // unimplemented
000007C4 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007C8 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007CC FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007D0 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007D4 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007D8 FEB6 FF78 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007DC FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000007DE FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000007E0 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000007E2 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007E6 FEB6 FEB6 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007EA 0054 FEB6 ori.w [A4], 0xFEB6
000007EE FEB6 FFB4 .extension 0xEB6 <<F/2-3/7>> // unimplemented
000007F2 FFB4 .invalid <<F/6/7>>
000007F4 FFB4 .invalid <<F/6/7>>
000007F6 FFB4 .invalid <<F/6/7>>
000007F8 FFB4 .invalid <<F/6/7>>
000007FA FFB4 .invalid <<F/6/7>>
000007FC FFB4 .invalid <<F/6/7>>
000007FE FFB4 .invalid <<F/6/7>>
00000800 FFB4 .invalid <<F/6/7>>
00000802 FFB4 .invalid <<F/6/7>>
00000804 FFB4 .invalid <<F/6/7>>
00000806 FFB4 .invalid <<F/6/7>>
00000808 FFB4 .invalid <<F/6/7>>
0000080A FFB4 .invalid <<F/6/7>>
label0000080C:
0000080C 4A2E FFEE tst.b [A6 - 0x12]
00000810 6700 00A8 beq +0xAA /* 000008BA */
00000814 102E FFED move.b D0, [A6 - 0x13]
00000818 6000 0098 bra +0x9A /* 000008B2 */
label0000081C:
0000081C 206D FC08 movea.l A0, [A5 - 0x3F8]
00000820 302E FFEA move.w D0, [A6 - 0x16]
00000824 D068 0006 add.w D0, [A0 + 0x6]
00000828 2F00 move.l -[A7], D0
0000082A 594F subq.w A7, 4
0000082C 206D FC08 movea.l A0, [A5 - 0x3F8]
00000830 226D FC08 movea.l A1, [A5 - 0x3F8]
00000834 4869 0008 pea.l [A1 + 0x8]
00000838 486E FFE0 pea.l [A6 - 0x20]
0000083C 3F3C 100E move.w -[A7], 0x100E
00000840 A9EB syscall Pack4/FP68K
00000842 4868 0006 pea.l [A0 + 0x6]
00000846 486E FFE0 pea.l [A6 - 0x20]
0000084A 3F3C 2004 move.w -[A7], 0x2004
0000084E A9EB syscall Pack4/FP68K
00000850 486E FFE0 pea.l [A6 - 0x20]
00000854 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000858 221F move.l D1, [A7]+
0000085A 201F move.l D0, [A7]+
0000085C 48C0 ext.l D0
0000085E D081 add.l D0, D1
00000860 3D40 FFEA move.w [A6 - 0x16], D0
00000864 486D FC08 pea.l [A5 - 0x3F8]
00000868 4EBA FA68 jsr [PC - 0x598 /* 000002D2 */]
0000086C 422E FFEF clr.b [A6 - 0x11]
00000870 6000 0048 bra +0x4A /* 000008BA */
label00000874:
00000874 594F subq.w A7, 4
00000876 206D FC08 movea.l A0, [A5 - 0x3F8]
0000087A 226D FC08 movea.l A1, [A5 - 0x3F8]
0000087E 4869 0008 pea.l [A1 + 0x8]
00000882 486E FFE0 pea.l [A6 - 0x20]
00000886 3F3C 100E move.w -[A7], 0x100E
0000088A A9EB syscall Pack4/FP68K
0000088C 4868 0006 pea.l [A0 + 0x6]
00000890 486E FFE0 pea.l [A6 - 0x20]
00000894 3F3C 2004 move.w -[A7], 0x2004
00000898 A9EB syscall Pack4/FP68K
0000089A 486E FFE0 pea.l [A6 - 0x20]
0000089E 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
000008A2 302E FFEA move.w D0, [A6 - 0x16]
000008A6 48C0 ext.l D0
000008A8 D09F add.l D0, [A7]+
000008AA 3D40 FFEA move.w [A6 - 0x16], D0
000008AE 6000 000A bra +0xC /* 000008BA */
label000008B2:
000008B2 67C0 beq -0x3E /* 00000874 */
000008B4 5300 subq.b D0, 1
000008B6 6700 FF64 beq -0x9A /* 0000081C */
label000008BA:
000008BA 4AAD FC08 tst.l [A5 - 0x3F8]
000008BE 6700 000C beq +0xE /* 000008CC */
000008C2 206D FC08 movea.l A0, [A5 - 0x3F8]
000008C6 2B68 001C FC08 move.l [A5 - 0x3F8], [A0 + 0x1C]
label000008CC:
000008CC 6000 FD84 bra -0x27A /* 00000652 */
label000008D0:
000008D0 4A2E FFEF tst.b [A6 - 0x11]
000008D4 6700 FD70 beq -0x28E /* 00000646 */
000008D8 4A6E FFEA tst.w [A6 - 0x16]
000008DC 6700 0018 beq +0x1A /* 000008F6 */
000008E0 3F2E FFEA move.w -[A7], [A6 - 0x16]
000008E4 4EBA 0152 jsr [PC + 0x152 /* 00000A38 */]
000008E8 302E FFEA move.w D0, [A6 - 0x16]
000008EC 48C0 ext.l D0
000008EE D0AD FC04 add.l D0, [A5 - 0x3FC]
000008F2 2B40 FC04 move.l [A5 - 0x3FC], D0
label000008F6:
000008F6 4CDF 1000 movem.l A4, [A7]+
000008FA 4E5E unlink A6
000008FC 205F movea.l A0, [A7]+
000008FE 544F addq.w A7, 2
00000900 4ED0 jmp [A0]
export_31:
fn00000902:
00000902 4E56 FFE8 link A6, -0x0018
00000906 48E7 0100 movem.l -[A7], D7
0000090A 426E FFE8 clr.w [A6 - 0x18]
0000090E 7E0D moveq.l D7, 0x0D
00000910 1D7C 001C FFEF move.b [A6 - 0x11], 0x1C
label00000916:
00000916 554F subq.w A7, 2
00000918 1F2E FFEF move.b -[A7], [A6 - 0x11]
0000091C 4EBA FA6E jsr [PC - 0x592 /* 0000038C */]
00000920 4A1F tst.b [A7]+
00000922 6700 0028 beq +0x2A /* 0000094C */
00000926 594F subq.w A7, 4
00000928 1F2E FFEF move.b -[A7], [A6 - 0x11]
0000092C 4EBA FB90 jsr [PC - 0x470 /* 000004BE */]
00000930 2D5F FFEA move.l [A6 - 0x16], [A7]+
00000934 206E FFEA movea.l A0, [A6 - 0x16]
00000938 302E FFE8 move.w D0, [A6 - 0x18]
0000093C D068 0006 add.w D0, [A0 + 0x6]
00000940 3D40 FFE8 move.w [A6 - 0x18], D0
00000944 486E FFEA pea.l [A6 - 0x16]
00000948 4EBA F988 jsr [PC - 0x678 /* 000002D2 */]
label0000094C:
0000094C 522E FFEF addq.b [A6 - 0x11], 1
00000950 51CF FFC4 dbf D7, -0x3E /* 00000916 */
00000954 4A6E FFE8 tst.w [A6 - 0x18]
00000958 6700 0018 beq +0x1A /* 00000972 */
0000095C 3F2E FFE8 move.w -[A7], [A6 - 0x18]
00000960 4EBA 00D6 jsr [PC + 0xD6 /* 00000A38 */]
00000964 302E FFE8 move.w D0, [A6 - 0x18]
00000968 48C0 ext.l D0
0000096A D0AD FC04 add.l D0, [A5 - 0x3FC]
0000096E 2B40 FC04 move.l [A5 - 0x3FC], D0
label00000972:
00000972 4CDF 0080 movem.l D7, [A7]+
00000976 4E5E unlink A6
00000978 4E75 rts
export_32:
fn0000097A:
0000097A 4E56 FFD6 link A6, -0x002A
0000097E 48E7 0100 movem.l -[A7], D7
00000982 206E 0008 movea.l A0, [A6 + 0x8]
00000986 43EE FFE8 lea.l A1, [A6 - 0x18]
0000098A 22D8 move.l [A1]+, [A0]+
0000098C 22D8 move.l [A1]+, [A0]+
0000098E 41EE FFE8 lea.l A0, [A6 - 0x18]
00000992 43EE FFE0 lea.l A1, [A6 - 0x20]
00000996 22D8 move.l [A1]+, [A0]+
00000998 22D8 move.l [A1]+, [A0]+
0000099A 3E2E 0010 move.w D7, [A6 + 0x10]
0000099E 7000 moveq.l D0, 0x00
000009A0 BE40 cmp.w D7, D0
000009A2 6D00 0074 blt +0x76 /* 00000A18 */
000009A6 3D40 FFDE move.w [A6 - 0x22], D0
000009AA 9E40 sub.w D7, D0
label000009AC:
000009AC 302E FFDE move.w D0, [A6 - 0x22]
000009B0 C1FC 0009 muls.w D0, 0x9 /* '\t' */
000009B4 D06E FFEA add.w D0, [A6 - 0x16]
000009B8 3D40 FFE6 move.w [A6 - 0x1A], D0
000009BC 486E FFE0 pea.l [A6 - 0x20]
000009C0 A8A3 syscall EraseRect
000009C2 554F subq.w A7, 2
000009C4 A861 syscall Random
000009C6 302E FFEC move.w D0, [A6 - 0x14]
000009CA 906E FFE8 sub.w D0, [A6 - 0x18]
000009CE 0640 FFEC addi.w D0, 0xFFEC
000009D2 321F move.w D1, [A7]+
000009D4 48C1 ext.l D1
000009D6 83C0 divs.w D1, D0
000009D8 4841 swap.w D1
000009DA 4A41 tst.w D1
000009DC 6A02 bpl +0x4 /* 000009E0 */
000009DE D240 add.w D1, D0
label000009E0:
000009E0 D26E FFE0 add.w D1, [A6 - 0x20]
000009E4 3D41 FFE0 move.w [A6 - 0x20], D1
000009E8 302E FFE0 move.w D0, [A6 - 0x20]
000009EC 0640 0014 addi.w D0, 0x14
000009F0 3D40 FFE4 move.w [A6 - 0x1C], D0
000009F4 2F2E 000C move.l -[A7], [A6 + 0xC]
000009F8 486E FFE0 pea.l [A6 - 0x20]
000009FC A8F6 syscall DrawPicture
000009FE 3D6E FFE6 FFE2 move.w [A6 - 0x1E], [A6 - 0x1A]
00000A04 3D6E FFE8 FFE0 move.w [A6 - 0x20], [A6 - 0x18]
00000A0A 3D6E FFEC FFE4 move.w [A6 - 0x1C], [A6 - 0x14]
00000A10 526E FFDE addq.w [A6 - 0x22], 1
00000A14 51CF FF96 dbf D7, -0x6C /* 000009AC */
label00000A18:
00000A18 302E FFE6 move.w D0, [A6 - 0x1A]
00000A1C 0640 0009 addi.w D0, 0x9 /* '\t' */
00000A20 3D40 FFE6 move.w [A6 - 0x1A], D0
00000A24 486E FFE0 pea.l [A6 - 0x20]
00000A28 A8A3 syscall EraseRect
00000A2A 4CDF 0080 movem.l D7, [A7]+
00000A2E 4E5E unlink A6
00000A30 205F movea.l A0, [A7]+
00000A32 4FEF 000A lea.l A7, [A7 + 0xA]
00000A36 4ED0 jmp [A0]
export_33:
fn00000A38:
00000A38 4E56 FFEE link A6, -0x0012
00000A3C 48E7 0100 movem.l -[A7], D7
00000A40 302E 0008 move.w D0, [A6 + 0x8]
00000A44 48C0 ext.l D0
00000A46 81FC 0019 divs.w D0, 0x19
00000A4A D06D FBE4 add.w D0, [A5 - 0x41C]
00000A4E 3B40 FBE4 move.w [A5 - 0x41C], D0
00000A52 7019 moveq.l D0, 0x19
00000A54 322E 0008 move.w D1, [A6 + 0x8]
00000A58 48C1 ext.l D1
00000A5A 83C0 divs.w D1, D0
00000A5C 4841 swap.w D1
00000A5E 4A41 tst.w D1
00000A60 6A02 bpl +0x4 /* 00000A64 */
00000A62 D240 add.w D1, D0
label00000A64:
00000A64 3D41 0008 move.w [A6 + 0x8], D1
00000A68 0C6D 0019 FBE4 cmpi.w [A5 - 0x41C], 0x19
00000A6E 6F00 001C ble +0x1E /* 00000A8C */
00000A72 302D FBE4 move.w D0, [A5 - 0x41C]
00000A76 0640 FFE7 addi.w D0, 0xFFE7
00000A7A C1FC 0019 muls.w D0, 0x19
00000A7E D06E 0008 add.w D0, [A6 + 0x8]
00000A82 3D40 0008 move.w [A6 + 0x8], D0
00000A86 3B7C 0019 FBE4 move.w [A5 - 0x41C], 0x19
label00000A8C:
00000A8C 302E 0008 move.w D0, [A6 + 0x8]
00000A90 48C0 ext.l D0
00000A92 81FC 0005 divs.w D0, 0x5
00000A96 D06D FBE2 add.w D0, [A5 - 0x41E]
00000A9A 3B40 FBE2 move.w [A5 - 0x41E], D0
00000A9E 7005 moveq.l D0, 0x05
00000AA0 322E 0008 move.w D1, [A6 + 0x8]
00000AA4 48C1 ext.l D1
00000AA6 83C0 divs.w D1, D0
00000AA8 4841 swap.w D1
00000AAA 4A41 tst.w D1
00000AAC 6A02 bpl +0x4 /* 00000AB0 */
00000AAE D240 add.w D1, D0
label00000AB0:
00000AB0 3D41 0008 move.w [A6 + 0x8], D1
00000AB4 0C6D 0019 FBE2 cmpi.w [A5 - 0x41E], 0x19
00000ABA 6F00 001C ble +0x1E /* 00000AD8 */
00000ABE 302D FBE2 move.w D0, [A5 - 0x41E]
00000AC2 0640 FFE7 addi.w D0, 0xFFE7
00000AC6 C1FC 0005 muls.w D0, 0x5
00000ACA D06E 0008 add.w D0, [A6 + 0x8]
00000ACE 3D40 0008 move.w [A6 + 0x8], D0
00000AD2 3B7C 0019 FBE2 move.w [A5 - 0x41E], 0x19
label00000AD8:
00000AD8 302D FBE0 move.w D0, [A5 - 0x420]
00000ADC D06E 0008 add.w D0, [A6 + 0x8]
00000AE0 3B40 FBE0 move.w [A5 - 0x420], D0
00000AE4 0C6D 0019 FBE0 cmpi.w [A5 - 0x420], 0x19
00000AEA 6F00 0008 ble +0xA /* 00000AF4 */
00000AEE 3B7C 0019 FBE0 move.w [A5 - 0x420], 0x19
label00000AF4:
00000AF4 7E02 moveq.l D7, 0x02
00000AF6 422E FFEF clr.b [A6 - 0x11]
label00000AFA:
00000AFA 7000 moveq.l D0, 0x00
00000AFC 102E FFEF move.b D0, [A6 - 0x11]
00000B00 E340 asl D0.w, 1
00000B02 0640 FBE0 addi.w D0, 0xFBE0
00000B06 3F35 0000 move.w -[A7], [A5 + D0.w]
00000B0A 7000 moveq.l D0, 0x00
00000B0C 102E FFEF move.b D0, [A6 - 0x11]
00000B10 E540 asl D0.w, 2
00000B12 0640 FBD4 addi.w D0, 0xFBD4
00000B16 2F35 0000 move.l -[A7], [A5 + D0.w]
00000B1A 7000 moveq.l D0, 0x00
00000B1C 102E FFEF move.b D0, [A6 - 0x11]
00000B20 E740 asl D0.w, 3
00000B22 0640 FBE6 addi.w D0, 0xFBE6
00000B26 4875 0000 pea.l [A5 + D0.w]
00000B2A 4EBA FE4E jsr [PC - 0x1B2 /* 0000097A */]
00000B2E 522E FFEF addq.b [A6 - 0x11], 1
00000B32 51CF FFC6 dbf D7, -0x3C /* 00000AFA */
00000B36 4CDF 0080 movem.l D7, [A7]+
00000B3A 4E5E unlink A6
00000B3C 205F movea.l A0, [A7]+
00000B3E 544F addq.w A7, 2
00000B40 4ED0 jmp [A0]
fn00000B42:
00000B42 4E56 FFE0 link A6, -0x0020
00000B46 4E71 nop
00000B48 4E71 nop
00000B4A 206E 000C movea.l A0, [A6 + 0xC]
00000B4E 43EE FFE8 lea.l A1, [A6 - 0x18]
00000B52 22D8 move.l [A1]+, [A0]+
00000B54 22D8 move.l [A1]+, [A0]+
00000B56 486E FFE8 pea.l [A6 - 0x18]
00000B5A 486D FE12 pea.l [A5 - 0x1EE]
00000B5E A8BB syscall FillOval
00000B60 486E FFE8 pea.l [A6 - 0x18]
00000B64 3F3C 0002 move.w -[A7], 0x2
00000B68 3F3C 0002 move.w -[A7], 0x2
00000B6C A8A9 syscall InsetRect
00000B6E 486E FFE8 pea.l [A6 - 0x18]
00000B72 486D FE1A pea.l [A5 - 0x1E6]
00000B76 A8BB syscall FillOval
00000B78 486E FFE8 pea.l [A6 - 0x18]
00000B7C 3F3C 0002 move.w -[A7], 0x2
00000B80 3F3C 0002 move.w -[A7], 0x2
00000B84 A8A9 syscall InsetRect
00000B86 486E FFE8 pea.l [A6 - 0x18]
00000B8A 486D FE12 pea.l [A5 - 0x1EE]
00000B8E A8BB syscall FillOval
00000B90 4E5E unlink A6
00000B92 205F movea.l A0, [A7]+
00000B94 504F addq.w A7, 8
00000B96 4ED0 jmp [A0]
fn00000B98:
00000B98 4E56 FDEC link A6, -0x0214
00000B9C 4E71 nop
00000B9E 4E71 nop
00000BA0 206E 000C movea.l A0, [A6 + 0xC]
00000BA4 43EE FEF0 lea.l A1, [A6 - 0x110]
00000BA8 703F moveq.l D0, 0x3F
label00000BAA:
00000BAA 22D8 move.l [A1]+, [A0]+
00000BAC 51C8 FFFC dbf D0, -0x6 /* 00000BAA */
00000BB0 3D7C 0001 FEEC move.w [A6 - 0x114], 0x1
00000BB6 426E FEEE clr.w [A6 - 0x112]
label00000BBA:
00000BBA 486E FDEC pea.l [A6 - 0x214]
00000BBE 486E FEF0 pea.l [A6 - 0x110]
00000BC2 3F2E FEEC move.w -[A7], [A6 - 0x114]
00000BC6 3F3C 0001 move.w -[A7], 0x1
00000BCA 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000BCE 584F addq.w A7, 4
00000BD0 0C6E 0120 FDEC cmpi.w [A6 - 0x214], 0x120
00000BD6 6600 0018 bne +0x1A /* 00000BF0 */
00000BDA 302E FEEE move.w D0, [A6 - 0x112]
00000BDE 5240 addq.w D0, 1
00000BE0 3D40 FEEE move.w [A6 - 0x112], D0
00000BE4 302E FEEC move.w D0, [A6 - 0x114]
00000BE8 5240 addq.w D0, 1
00000BEA 3D40 FEEC move.w [A6 - 0x114], D0
00000BEE 60CA bra -0x34 /* 00000BBA */
label00000BF0:
00000BF0 486E FEF0 pea.l [A6 - 0x110]
00000BF4 3F3C 0001 move.w -[A7], 0x1
00000BF8 3F2E FEEE move.w -[A7], [A6 - 0x112]
00000BFC 4EAD 009A jsr [A5 + 0x9A /* export_15 */]
00000C00 206E 0010 movea.l A0, [A6 + 0x10]
00000C04 3F3C 00FF move.w -[A7], 0xFF
00000C08 486E FEF0 pea.l [A6 - 0x110]
00000C0C 2F08 move.l -[A7], A0
00000C0E 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000C12 4E5E unlink A6
00000C14 205F movea.l A0, [A7]+
00000C16 504F addq.w A7, 8
00000C18 4ED0 jmp [A0]
fn00000C1A:
00000C1A 4E56 FCE8 link A6, -0x0318
00000C1E 4E71 nop
00000C20 4E71 nop
00000C22 486E FFE8 pea.l [A6 - 0x18]
00000C26 302D FC34 move.w D0, [A5 - 0x3CC]
00000C2A 5240 addq.w D0, 1
00000C2C 3F00 move.w -[A7], D0
00000C2E 3F2D FC2E move.w -[A7], [A5 - 0x3D2]
00000C32 302D FC28 move.w D0, [A5 - 0x3D8]
00000C36 5340 subq.w D0, 1
00000C38 3F00 move.w -[A7], D0
00000C3A 3F2D FC32 move.w -[A7], [A5 - 0x3CE]
00000C3E A8A7 syscall SetRect
00000C40 486E FFE8 pea.l [A6 - 0x18]
00000C44 A8A3 syscall EraseRect
00000C46 1D7C 0021 FFE6 move.b [A6 - 0x1A], 0x21 /* '!' */
00000C4C 7000 moveq.l D0, 0x00
00000C4E 102E FFE6 move.b D0, [A6 - 0x1A]
00000C52 3F00 move.w -[A7], D0
00000C54 A888 syscall TextFace
00000C56 302D FBEC move.w D0, [A5 - 0x414]
00000C5A 0640 000A addi.w D0, 0xA /* '\n' */
00000C5E 3F00 move.w -[A7], D0
00000C60 3F2D FBEA move.w -[A7], [A5 - 0x416]
00000C64 A893 syscall MoveTo
00000C66 486E FEE8 pea.l [A6 - 0x118]
00000C6A 487A 00B6 pea.l [PC + 0xB6 /* 00000D22, value 0x7426574, pstring "Bet: $" */]
00000C6E 486E FDE8 pea.l [A6 - 0x218]
00000C72 486E FCE8 pea.l [A6 - 0x318]
00000C76 4267 clr.w -[A7]
00000C78 3F2D FC02 move.w -[A7], [A5 - 0x3FE]
00000C7C 3F3C 0008 move.w -[A7], 0x8
00000C80 3F3C 0003 move.w -[A7], 0x3
00000C84 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000C88 584F addq.w A7, 4
00000C8A 486E FCE8 pea.l [A6 - 0x318]
00000C8E 2F0E move.l -[A7], A6
00000C90 4EBA FF06 jsr [PC - 0xFA /* 00000B98 */]
00000C94 584F addq.w A7, 4
00000C96 486E FDE8 pea.l [A6 - 0x218]
00000C9A 3F3C 0002 move.w -[A7], 0x2
00000C9E 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000CA2 584F addq.w A7, 4
00000CA4 486E FEE8 pea.l [A6 - 0x118]
00000CA8 A884 syscall DrawString
00000CAA 302D FBF4 move.w D0, [A5 - 0x40C]
00000CAE 0640 000A addi.w D0, 0xA /* '\n' */
00000CB2 3F00 move.w -[A7], D0
00000CB4 3F2D FBF2 move.w -[A7], [A5 - 0x40E]
00000CB8 A893 syscall MoveTo
00000CBA 486E FEE8 pea.l [A6 - 0x118]
00000CBE 487A 0056 pea.l [PC + 0x56 /* 00000D16, value 0xB42616C, pstring "Balance: $" */]
00000CC2 486E FDE8 pea.l [A6 - 0x218]
00000CC6 486E FCE8 pea.l [A6 - 0x318]
00000CCA 3F3C 0001 move.w -[A7], 0x1
00000CCE 2F2D FC04 move.l -[A7], [A5 - 0x3FC]
00000CD2 3F3C 0008 move.w -[A7], 0x8
00000CD6 3F3C 0004 move.w -[A7], 0x4
00000CDA 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000CDE 584F addq.w A7, 4
00000CE0 486E FCE8 pea.l [A6 - 0x318]
00000CE4 2F0E move.l -[A7], A6
00000CE6 4EBA FEB0 jsr [PC - 0x150 /* 00000B98 */]
00000CEA 584F addq.w A7, 4
00000CEC 486E FDE8 pea.l [A6 - 0x218]
00000CF0 3F3C 0002 move.w -[A7], 0x2
00000CF4 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000CF8 584F addq.w A7, 4
00000CFA 486E FEE8 pea.l [A6 - 0x118]
00000CFE A884 syscall DrawString
00000D00 422E FFE6 clr.b [A6 - 0x1A]
00000D04 7000 moveq.l D0, 0x00
00000D06 102E FFE6 move.b D0, [A6 - 0x1A]
00000D0A 3F00 move.w -[A7], D0
00000D0C A888 syscall TextFace
00000D0E 4E5E unlink A6
00000D10 205F movea.l A0, [A7]+
00000D12 584F addq.w A7, 4
00000D14 4ED0 jmp [A0]
00000D16 0B42 bchg D2, D5
00000D18 616C bsr +0x6E /* 00000D86 */
00000D1A 616E bsr +0x70 /* 00000D8A */
00000D1C 6365 bls +0x67 /* 00000D83 */
00000D1E 3A20 move.w D5, -[A0]
00000D20 2024 move.l D0, -[A4]
00000D22 0742 bchg D2, D3
00000D24 6574 bcs +0x76 /* 00000D9A */
00000D26 3A20 move.w D5, -[A0]
00000D28 2024 move.l D0, -[A4]
fn00000D2A:
00000D2A 4E56 FFE8 link A6, -0x0018
00000D2E 4E71 nop
00000D30 4E71 nop
00000D32 206E 000C movea.l A0, [A6 + 0xC]
00000D36 43EE FFE8 lea.l A1, [A6 - 0x18]
00000D3A 22D8 move.l [A1]+, [A0]+
00000D3C 22D8 move.l [A1]+, [A0]+
00000D3E 302E FFEC move.w D0, [A6 - 0x14]
00000D42 906E FFE8 sub.w D0, [A6 - 0x18]
00000D46 48C0 ext.l D0
00000D48 81FC 0002 divs.w D0, 0x2
00000D4C D06E FFE8 add.w D0, [A6 - 0x18]
00000D50 3D40 FFE8 move.w [A6 - 0x18], D0
00000D54 3D6E FFE8 FFEC move.w [A6 - 0x14], [A6 - 0x18]
00000D5A 302E FFEE move.w D0, [A6 - 0x12]
00000D5E 906E FFEA sub.w D0, [A6 - 0x16]
00000D62 48C0 ext.l D0
00000D64 81FC 0002 divs.w D0, 0x2
00000D68 D06E FFEA add.w D0, [A6 - 0x16]
00000D6C 3D40 FFEA move.w [A6 - 0x16], D0
00000D70 3D6E FFEA FFEE move.w [A6 - 0x12], [A6 - 0x16]
00000D76 486E FFE8 pea.l [A6 - 0x18]
00000D7A 3F3C FFF0 move.w -[A7], 0xFFF0
00000D7E 3F3C FFF0 move.w -[A7], 0xFFF0
00000D82 A8A9 syscall InsetRect
00000D84 206E 0010 movea.l A0, [A6 + 0x10]
// begin alternate branch 00000D86-00000D8A
fn00000D86:
00000D86 0010 43EE ori.b [A0], 0xEE
// end alternate branch 00000D86-00000D8A
fn00000D86: // (misaligned)
00000D88 43EE FFE8 lea.l A1, [A6 - 0x18]
// begin alternate branch 00000D8A-00000D8C
fn00000D8A:
00000D8A FFE8 .invalid <<F/7/7>>
// end alternate branch 00000D8A-00000D8C
fn00000D8A: // (misaligned)
00000D8C 20D9 move.l [A0]+, [A1]+
00000D8E 20D9 move.l [A0]+, [A1]+
00000D90 4E5E unlink A6
00000D92 205F movea.l A0, [A7]+
00000D94 504F addq.w A7, 8
00000D96 4ED0 jmp [A0]
fn00000D98:
00000D98 4E56 FFB8 link A6, -0x0048
// begin alternate branch 00000D9A-00000D9C
label00000D9A:
00000D9A FFB8 .invalid <<F/6/7>>
// end alternate branch 00000D9A-00000D9C
label00000D9A: // (misaligned)
00000D9C 4E71 nop
00000D9E 4E71 nop
00000DA0 102D FC46 move.b D0, [A5 - 0x3BA]
00000DA4 6000 0124 bra +0x126 /* 00000ECA */
label00000DA8:
00000DA8 102D FC47 move.b D0, [A5 - 0x3B9]
00000DAC 6000 00C2 bra +0xC4 /* 00000E70 */
00000DB0 486E FFE0 pea.l [A6 - 0x20]
00000DB4 486D FAD4 pea.l [A5 - 0x52C]
00000DB8 2F0E move.l -[A7], A6
00000DBA 4EBA FF6E jsr [PC - 0x92 /* 00000D2A */]
00000DBE 584F addq.w A7, 4
00000DC0 41EE FFE0 lea.l A0, [A6 - 0x20]
00000DC4 43EE FFE8 lea.l A1, [A6 - 0x18]
00000DC8 22D8 move.l [A1]+, [A0]+
00000DCA 22D8 move.l [A1]+, [A0]+
00000DCC 6000 00C4 bra +0xC6 /* 00000E92 */
00000DD0 486E FFD8 pea.l [A6 - 0x28]
00000DD4 486D FADC pea.l [A5 - 0x524]
00000DD8 2F0E move.l -[A7], A6
00000DDA 4EBA FF4E jsr [PC - 0xB2 /* 00000D2A */]
00000DDE 584F addq.w A7, 4
00000DE0 41EE FFD8 lea.l A0, [A6 - 0x28]
00000DE4 43EE FFE8 lea.l A1, [A6 - 0x18]
00000DE8 22D8 move.l [A1]+, [A0]+
00000DEA 22D8 move.l [A1]+, [A0]+
00000DEC 6000 00A4 bra +0xA6 /* 00000E92 */
00000DF0 486E FFD0 pea.l [A6 - 0x30]
00000DF4 486D FAE4 pea.l [A5 - 0x51C]
00000DF8 2F0E move.l -[A7], A6
00000DFA 4EBA FF2E jsr [PC - 0xD2 /* 00000D2A */]
00000DFE 584F addq.w A7, 4
00000E00 41EE FFD0 lea.l A0, [A6 - 0x30]
00000E04 43EE FFE8 lea.l A1, [A6 - 0x18]
00000E08 22D8 move.l [A1]+, [A0]+
00000E0A 22D8 move.l [A1]+, [A0]+
00000E0C 6000 0084 bra +0x86 /* 00000E92 */
00000E10 486E FFC8 pea.l [A6 - 0x38]
00000E14 486D FAEC pea.l [A5 - 0x514]
00000E18 2F0E move.l -[A7], A6
00000E1A 4EBA FF0E jsr [PC - 0xF2 /* 00000D2A */]
00000E1E 584F addq.w A7, 4
00000E20 41EE FFC8 lea.l A0, [A6 - 0x38]
00000E24 43EE FFE8 lea.l A1, [A6 - 0x18]
00000E28 22D8 move.l [A1]+, [A0]+
00000E2A 22D8 move.l [A1]+, [A0]+
00000E2C 6000 0064 bra +0x66 /* 00000E92 */
00000E30 486E FFC0 pea.l [A6 - 0x40]
00000E34 486D FAF4 pea.l [A5 - 0x50C]
00000E38 2F0E move.l -[A7], A6
00000E3A 4EBA FEEE jsr [PC - 0x112 /* 00000D2A */]
00000E3E 584F addq.w A7, 4
00000E40 41EE FFC0 lea.l A0, [A6 - 0x40]
00000E44 43EE FFE8 lea.l A1, [A6 - 0x18]
00000E48 22D8 move.l [A1]+, [A0]+
00000E4A 22D8 move.l [A1]+, [A0]+
00000E4C 6000 0044 bra +0x46 /* 00000E92 */
00000E50 486E FFB8 pea.l [A6 - 0x48]
00000E54 486D FAFC pea.l [A5 - 0x504]
00000E58 2F0E move.l -[A7], A6
00000E5A 4EBA FECE jsr [PC - 0x132 /* 00000D2A */]
00000E5E 584F addq.w A7, 4
00000E60 41EE FFB8 lea.l A0, [A6 - 0x48]
00000E64 43EE FFE8 lea.l A1, [A6 - 0x18]
00000E68 22D8 move.l [A1]+, [A0]+
00000E6A 22D8 move.l [A1]+, [A0]+
00000E6C 6000 0024 bra +0x26 /* 00000E92 */
label00000E70:
00000E70 4880 ext.w D0
00000E72 5940 subq.w D0, 4
00000E74 0C40 0007 cmpi.w D0, 0x7
00000E78 6418 bcc +0x1A /* 00000E92 */
00000E7A D040 add.w D0, D0
00000E7C 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000E80 4EFB 0002 jmp [PC + D0.w + 0x2]
00000E84 FF2C .extension 0xF2C <<F/4-5/7>> // unimplemented
00000E86 FF4C .extension 0xF4C <<F/4-5/7>> // unimplemented
00000E88 FF6C .extension 0xF6C <<F/4-5/7>> // unimplemented
00000E8A 000E FF8C ori.b A6, 0x8C
00000E8E FFAC .invalid <<F/6/7>>
00000E90 FFCC .invalid <<F/7/7>>
label00000E92:
00000E92 486E FFE8 pea.l [A6 - 0x18]
00000E96 2F2D FC58 move.l -[A7], [A5 - 0x3A8]
00000E9A A94B syscall PlotIcon
00000E9C 6000 0034 bra +0x36 /* 00000ED2 */
label00000EA0:
00000EA0 486E FFE0 pea.l [A6 - 0x20]
00000EA4 486D FA94 pea.l [A5 - 0x56C]
00000EA8 2F0E move.l -[A7], A6
00000EAA 4EBA FE7E jsr [PC - 0x182 /* 00000D2A */]
00000EAE 584F addq.w A7, 4
00000EB0 41EE FFE0 lea.l A0, [A6 - 0x20]
00000EB4 43EE FFE8 lea.l A1, [A6 - 0x18]
00000EB8 22D8 move.l [A1]+, [A0]+
00000EBA 22D8 move.l [A1]+, [A0]+
00000EBC 486E FFE8 pea.l [A6 - 0x18]
00000EC0 2F2D FC54 move.l -[A7], [A5 - 0x3AC]
00000EC4 A94B syscall PlotIcon
00000EC6 6000 000A bra +0xC /* 00000ED2 */
label00000ECA:
00000ECA 6700 FEDC beq -0x122 /* 00000DA8 */
00000ECE 5300 subq.b D0, 1
00000ED0 67CE beq -0x30 /* 00000EA0 */
label00000ED2:
00000ED2 4E5E unlink A6
00000ED4 205F movea.l A0, [A7]+
00000ED6 584F addq.w A7, 4
00000ED8 4ED0 jmp [A0]
export_34:
fn00000EDA:
00000EDA 4E56 FFEA link A6, -0x0016
00000EDE 48E7 0100 movem.l -[A7], D7
00000EE2 4A2E 0008 tst.b [A6 + 0x8]
00000EE6 6700 0008 beq +0xA /* 00000EF0 */
00000EEA 2F2E 000A move.l -[A7], [A6 + 0xA]
00000EEE A922 syscall BeginUpdate
label00000EF0:
00000EF0 486E FFEC pea.l [A6 - 0x14]
00000EF4 A874 syscall GetPort
00000EF6 2F2E 000A move.l -[A7], [A6 + 0xA]
00000EFA A873 syscall SetPort
00000EFC 2F2D FC50 move.l -[A7], [A5 - 0x3B0]
00000F00 486D FC48 pea.l [A5 - 0x3B8]
00000F04 A8F6 syscall DrawPicture
00000F06 486D FC16 pea.l [A5 - 0x3EA]
00000F0A 102D FC14 move.b D0, [A5 - 0x3EC]
00000F0E 4880 ext.w D0
00000F10 E540 asl D0.w, 2
00000F12 0640 FC58 addi.w D0, 0xFC58
00000F16 2F35 0000 move.l -[A7], [A5 + D0.w]
00000F1A A94B syscall PlotIcon
00000F1C 486D FC1E pea.l [A5 - 0x3E2]
00000F20 102D FC15 move.b D0, [A5 - 0x3EB]
00000F24 4880 ext.w D0
00000F26 E540 asl D0.w, 2
00000F28 0640 FC70 addi.w D0, 0xFC70
00000F2C 2F35 0000 move.l -[A7], [A5 + D0.w]
00000F30 A94B syscall PlotIcon
00000F32 2B6D FC10 FC08 move.l [A5 - 0x3F8], [A5 - 0x3F0]
label00000F38:
00000F38 4AAD FC08 tst.l [A5 - 0x3F8]
00000F3C 6700 001C beq +0x1E /* 00000F5A */
00000F40 206D FC08 movea.l A0, [A5 - 0x3F8]
00000F44 4868 0010 pea.l [A0 + 0x10]
00000F48 2F0E move.l -[A7], A6
00000F4A 4EBA FBF6 jsr [PC - 0x40A /* 00000B42 */]
00000F4E 206D FC08 movea.l A0, [A5 - 0x3F8]
00000F52 2B68 001C FC08 move.l [A5 - 0x3F8], [A0 + 0x1C]
00000F58 60DE bra -0x20 /* 00000F38 */
label00000F5A:
00000F5A 4A2E 0008 tst.b [A6 + 0x8]
00000F5E 6700 0044 beq +0x46 /* 00000FA4 */
00000F62 7E02 moveq.l D7, 0x02
00000F64 422E FFEB clr.b [A6 - 0x15]
label00000F68:
00000F68 7000 moveq.l D0, 0x00
00000F6A 102E FFEB move.b D0, [A6 - 0x15]
00000F6E E340 asl D0.w, 1
00000F70 0640 FBE0 addi.w D0, 0xFBE0
00000F74 3F35 0000 move.w -[A7], [A5 + D0.w]
00000F78 7000 moveq.l D0, 0x00
00000F7A 102E FFEB move.b D0, [A6 - 0x15]
00000F7E E540 asl D0.w, 2
00000F80 0640 FBD4 addi.w D0, 0xFBD4
00000F84 2F35 0000 move.l -[A7], [A5 + D0.w]
00000F88 7000 moveq.l D0, 0x00
00000F8A 102E FFEB move.b D0, [A6 - 0x15]
00000F8E E740 asl D0.w, 3
00000F90 0640 FBE6 addi.w D0, 0xFBE6
00000F94 4875 0000 pea.l [A5 + D0.w]
00000F98 4EBA F9E0 jsr [PC - 0x620 /* 0000097A */]
00000F9C 522E FFEB addq.b [A6 - 0x15], 1
00000FA0 51CF FFC6 dbf D7, -0x3C /* 00000F68 */
label00000FA4:
00000FA4 2F0E move.l -[A7], A6
00000FA6 4EBA FC72 jsr [PC - 0x38E /* 00000C1A */]
00000FAA 2F0E move.l -[A7], A6
00000FAC 4EBA FDEA jsr [PC - 0x216 /* 00000D98 */]
00000FB0 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000FB4 A873 syscall SetPort
00000FB6 4A2E 0008 tst.b [A6 + 0x8]
00000FBA 6700 0008 beq +0xA /* 00000FC4 */
00000FBE 2F2E 000A move.l -[A7], [A6 + 0xA]
00000FC2 A923 syscall EndUpdate
label00000FC4:
00000FC4 4CDF 0080 movem.l D7, [A7]+
00000FC8 4E5E unlink A6
00000FCA 205F movea.l A0, [A7]+
00000FCC 5C4F addq.w A7, 6
00000FCE 4ED0 jmp [A0]
fn00000FD0:
00000FD0 4E56 FFD8 link A6, -0x0028
00000FD4 4E71 nop
00000FD6 4E71 nop
00000FD8 3F3C FFFF move.w -[A7], 0xFFFF
00000FDC 4267 clr.w -[A7]
00000FDE 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
00000FE2 422D FC01 clr.b [A5 - 0x3FF]
label00000FE6:
00000FE6 A9B4 syscall SystemTask
00000FE8 4A2D FD1F tst.b [A5 - 0x2E1]
00000FEC 6700 0060 beq +0x62 /* 0000104E */
00000FF0 486D FD54 pea.l [A5 - 0x2AC]
00000FF4 A972 syscall GetMouse
00000FF6 486D FD54 pea.l [A5 - 0x2AC]
00000FFA A870 syscall LocalToGlobal
00000FFC 554F subq.w A7, 2
00000FFE 2F2D FD54 move.l -[A7], [A5 - 0x2AC]
00001002 486E FFDC pea.l [A6 - 0x24]
00001006 A92C syscall FindWindow
00001008 3D5F FFDA move.w [A6 - 0x26], [A7]+
0000100C 202E FFDC move.l D0, [A6 - 0x24]
00001010 B0AD FD4C cmp.l D0, [A5 - 0x2B4]
00001014 6600 0036 bne +0x38 /* 0000104C */
00001018 0C6E 0003 FFDA cmpi.w [A6 - 0x26], 0x3
0000101E 6600 0026 bne +0x28 /* 00001046 */
00001022 4A6D FC02 tst.w [A5 - 0x3FE]
00001026 6700 0010 beq +0x12 /* 00001038 */
0000102A 206D FC42 movea.l A0, [A5 - 0x3BE]
0000102E 2050 movea.l A0, [A0]
00001030 2F08 move.l -[A7], A0
00001032 A851 syscall SetCursor
00001034 6000 000C bra +0xE /* 00001042 */
label00001038:
00001038 206D FC3E movea.l A0, [A5 - 0x3C2]
0000103C 2050 movea.l A0, [A0]
0000103E 2F08 move.l -[A7], A0
00001040 A851 syscall SetCursor
label00001042:
00001042 6000 0004 bra +0x6 /* 00001048 */
label00001046:
00001046 A850 syscall InitCursor
label00001048:
00001048 6000 0004 bra +0x6 /* 0000104E */
label0000104C:
0000104C A850 syscall InitCursor
label0000104E:
0000104E 554F subq.w A7, 2
00001050 3F3C FFFF move.w -[A7], 0xFFFF
00001054 486E FFE0 pea.l [A6 - 0x20]
00001058 A970 syscall GetNextEvent
0000105A 4A1F tst.b [A7]+
0000105C 6700 0150 beq +0x152 /* 000011AE */
00001060 302E FFE0 move.w D0, [A6 - 0x20]
00001064 6000 0126 bra +0x128 /* 0000118C */
00001068 554F subq.w A7, 2
0000106A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000106E 486E FFDC pea.l [A6 - 0x24]
00001072 A92C syscall FindWindow
00001074 3D5F FFDA move.w [A6 - 0x26], [A7]+
00001078 302E FFDA move.w D0, [A6 - 0x26]
0000107C 6000 0074 bra +0x76 /* 000010F2 */
00001080 486E FFE0 pea.l [A6 - 0x20]
00001084 2F2E FFDC move.l -[A7], [A6 - 0x24]
00001088 A9B3 syscall SystemClick
0000108A 6000 008A bra +0x8C /* 00001116 */
0000108E 554F subq.w A7, 2
00001090 594F subq.w A7, 4
00001092 2F2E FFEA move.l -[A7], [A6 - 0x16]
00001096 A93D syscall MenuSelect
00001098 4EBA F020 jsr [PC - 0xFE0 /* 000000BA */]
0000109C 1B5F FC01 move.b [A5 - 0x3FF], [A7]+
000010A0 6000 0074 bra +0x76 /* 00001116 */
000010A4 2F2E FFDC move.l -[A7], [A6 - 0x24]
000010A8 2F2E FFEA move.l -[A7], [A6 - 0x16]
000010AC 486D FCA8 pea.l [A5 - 0x358]
000010B0 A925 syscall DragWindow
000010B2 6000 0062 bra +0x64 /* 00001116 */
000010B6 202E FFDC move.l D0, [A6 - 0x24]
000010BA B0AD FD4C cmp.l D0, [A5 - 0x2B4]
000010BE 6600 0026 bne +0x28 /* 000010E6 */
000010C2 594F subq.w A7, 4
000010C4 A924 syscall FrontWindow
000010C6 201F move.l D0, [A7]+
000010C8 B0AE FFDC cmp.l D0, [A6 - 0x24]
000010CC 6700 000C beq +0xE /* 000010DA */
000010D0 2F2E FFDC move.l -[A7], [A6 - 0x24]
000010D4 A91F syscall SelectWindow
000010D6 6000 000E bra +0x10 /* 000010E6 */
label000010DA:
000010DA 486E FFD9 pea.l [A6 - 0x27]
000010DE 486E FFE0 pea.l [A6 - 0x20]
000010E2 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
label000010E6:
000010E6 6000 002E bra +0x30 /* 00001116 */
000010EA 6000 002A bra +0x2C /* 00001116 */
000010EE 6000 0026 bra +0x28 /* 00001116 */
label000010F2:
000010F2 5340 subq.w D0, 1
000010F4 0C40 0006 cmpi.w D0, 0x6
000010F8 6416 bcc +0x18 /* 00001110 */
000010FA D040 add.w D0, D0
000010FC 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001100 4EFB 0002 jmp [PC + D0.w + 0x2]
00001104 FF8A .invalid <<F/6/7>>
00001106 FF7C .extension 0xF7C <<F/4-5/7>> // unimplemented
00001108 FFB2 .invalid <<F/6/7>>
0000110A FFA0 .invalid <<F/6/7>>
0000110C FFE6 .invalid <<F/7/7>>
0000110E FFEA .invalid <<F/7/7>>
label00001110:
00001110 3F3C 0005 move.w -[A7], 0x5
00001114 A9C8 syscall SysBeep
label00001116:
00001116 6000 0096 bra +0x98 /* 000011AE */
0000111A 302E FFEE move.w D0, [A6 - 0x12]
0000111E 0240 0100 andi.w D0, 0x100
00001122 4A40 tst.w D0
00001124 6700 001C beq +0x1E /* 00001142 */
00001128 554F subq.w A7, 2
0000112A 594F subq.w A7, 4
0000112C 202E FFE2 move.l D0, [A6 - 0x1E]
00001130 0280 0000 00FF andi.l D0, 0xFF
00001136 3F00 move.w -[A7], D0
00001138 A93E syscall MenuKey
0000113A 4EBA EF7E jsr [PC - 0x1082 /* 000000BA */]
0000113E 1B5F FC01 move.b [A5 - 0x3FF], [A7]+
label00001142:
00001142 6000 006A bra +0x6C /* 000011AE */
00001146 202E FFE2 move.l D0, [A6 - 0x1E]
0000114A B0AD FD4C cmp.l D0, [A5 - 0x2B4]
0000114E 6600 000E bne +0x10 /* 0000115E */
00001152 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
00001156 1F3C 0001 move.b -[A7], 0x1
0000115A 4EBA FD7E jsr [PC - 0x282 /* 00000EDA */]
label0000115E:
0000115E 6000 004E bra +0x50 /* 000011AE */
00001162 202E FFE2 move.l D0, [A6 - 0x1E]
00001166 B0AD FD4C cmp.l D0, [A5 - 0x2B4]
0000116A 6600 001C bne +0x1E /* 00001188 */
0000116E 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
00001174 6700 000C beq +0xE /* 00001182 */
00001178 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
0000117C A873 syscall SetPort
0000117E 6000 0008 bra +0xA /* 00001188 */
label00001182:
00001182 2F2D FD50 move.l -[A7], [A5 - 0x2B0]
00001186 A873 syscall SetPort
label00001188:
00001188 6000 0024 bra +0x26 /* 000011AE */
label0000118C:
0000118C 5340 subq.w D0, 1
0000118E 0C40 0008 cmpi.w D0, 0x8
00001192 641A bcc +0x1C /* 000011AE */
00001194 D040 add.w D0, D0
00001196 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000119A 4EFB 0002 jmp [PC + D0.w + 0x2]
0000119E FECA 0010 .extension 0xECA <<F/2-3/7>> // unimplemented
000011A2 FF7C .extension 0xF7C <<F/4-5/7>> // unimplemented
000011A4 0010 FF7C ori.b [A0], 0x7C /* '|' */
000011A8 FFA8 .invalid <<F/6/7>>
000011AA 0010 FFC4 ori.b [A0], 0xC4
label000011AE:
000011AE 4A2D FC01 tst.b [A5 - 0x3FF]
000011B2 6700 FE32 beq -0x1CC /* 00000FE6 */
000011B6 4E5E unlink A6
000011B8 4E75 rts